﻿using System;
using System.Runtime.Serialization;

namespace Lhz.Sc.Entity.Database
{
    [DataContract(IsReference = true)]
    public class DatabaseEntity
    {
        [DataMember]
        public virtual Guid Guid { get; set; }

        public DatabaseEntity()
        {
            Guid = Guid.NewGuid();
        }
    }
}
